package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 微盟交易明细导入VO
* </p>
*
* @author huangrensen
* @since 2024-06-18
*/
@Schema
@Data
public class WmTradeDetailImportVo implements Serializable {
    @ExcelIgnore
    private Long storeId;
    @ExcelProperty(value = "交易时间")
    private String tradeTime;
    @ExcelProperty(value = "交易金额")
    private String tradeAmount;
    @ExcelProperty(value = "交易类型")
    private String tradeType;
    @ExcelProperty(value = "收支类型")
    private String billType;
    @ExcelProperty(value = "关联单号")
    private String wmLinkNo;
    @ExcelProperty(value = "交易单号")
    private String tradeNo;
    @ExcelProperty(value = "第三方交易单号")
    private String otherTradeNo;
    @ExcelProperty(value = "收款门店")
    private String receiveStore;
    @ExcelProperty(value = "服务门店")
    private String serverStore;
    @ExcelProperty(value = "销售门店")
    private String sellStore;
    @ExcelProperty(value = "支付商户号")
    private String sellOrderNo;
    @ExcelProperty(value = "支付模式")
    private String payMode;
    @ExcelProperty(value = "支付方式")
    private String payType;
    @ExcelProperty(value = "订单来源")
    private String source;

    @ExcelIgnore
    private String billMonth;

    @ExcelIgnore
    private String uuid;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("交易时间", "tradeTime");
        map.put("交易金额", "tradeAmount");
        map.put("交易类型", "tradeType");
        map.put("收支类型", "billType");
        map.put("关联单号", "wmLinkNo");
        map.put("交易单号", "tradeNo");
        map.put("第三方交易单号", "otherTradeNo");
        map.put("收款门店", "receiveStore");
        map.put("服务门店", "serverStore");
        map.put("销售门店", "sellStore");
        map.put("支付商户号", "sellOrderNo");
        map.put("支付模式", "payMode");
        map.put("支付方式", "payType");
        map.put("订单来源", "source");
        return map;
    }
}
